PreviousNextTracker indexSee it online !

(57/185) 137 - SuperAbbrevs - multi-mode abbrevs

Abbreviations are currently grouped by mode, e.g. one set for HTML, another for XSL, another for Python, etc or global, i.e. available to all modes. If I want to use the same abbrev in more than one mode, I have to manually recreate for each additional mode. Putting the abbrev in the global modespace fails when there is more than one definition for an abbrev, i.e. I might want to expand "tr" as a table row tag in HTML and XSL but expand to something else in Python or SQL.

I would like to be able to assign abbrevs to multiple modes, or create multi-mode abbrev sets, e.g. Python mako templates, which are a combination of HTML and Python code, could define a new mode "Mako HTML" to which abbrevs from both the Python and HTML abbrev sets are assigned, or possibly "add" modes to existing abbrevs?

Not sure what would be the best way to implement this idea, and my jEdit plugin dev skills are negligible, but I'd be happy to work with someone to define and test it.

Submitted phipster - 2009-06-17 21:07:47 Assigned sune_simonsen
Priority 5 Labels
Status open Group None
Resolution None

Comments

2009-06-17 21:09:13
phipster

- **summary**: SuperAbbrevs - mulit-mode abbrevs --> SuperAbbrevs - multi-mode abbrevs

2009-12-28 22:07:23
sune_simonsen

- **assigned_to**: nobody --> sune_simonsen